import yaml
#封装yaml读取方法
def data_yaml(filep):
    with open(filep, 'r',encoding='utf-8') as f:
        return yaml.safe_load(f)
